#ifndef GENERALIZATIONDECORATOR_H
#define GENERALIZATIONDECORATOR_H

#include <QPolygonF>

class GeneralizationDeocrator : public QPolygonF
{
public:
    GeneralizationDeocrator() {
        this->append(QPointF(0, 0));
        this->append(QPointF(15, -10));
        this->append(QPointF(15, 10));
        this->append(QPointF(0, 0));
    }
};

class AggregationDecorator : public QPolygonF
{
public:
    AggregationDecorator() {
        this->append(QPointF(0, 0));
        this->append(QPointF(12, -8));
        this->append(QPointF(24, 0));
        this->append(QPointF(12, 8));
        this->append(QPointF(0, 0));
    }
};

#endif // GENERALIZATIONDECORATOR_H
